<!--
 * @Author: yushuang
 * @Date: 2024-11-13 10:47:57
 * @LastEditors: yushuang
 * @LastEditTime: 2024-11-28 15:59:19
 * @Description: 
-->
<template>
  <t-layout-page class="dashboard-container">
    <t-layout-page-item>
      <el-input v-model="search" placeholder="请输入搜索内容" class="search-input" />
      <div>
        当前登陆账号是：{{
          loginName === 'user'
            ? `${loginName}（即：游客账号---> 没有大屏、高德地图菜单；系统管理--没有部分按钮）`
            : `${loginName}（即：超管账号）`
        }}
      </div>
    </t-layout-page-item>
  </t-layout-page>
</template>
<script setup lang="ts" name="home">
import { computed, ref } from 'vue';
import { useUserStore } from '@/store/modules/user';

const userStore = useUserStore();
const loginName = computed(() => userStore.loginName);
const search = ref('');
</script>
